import { createRouter, createWebHashHistory } from 'vue-router'
import HomeView from '../views/demo/HomeView.vue'

const router = createRouter({
  history: createWebHashHistory(import.meta.env.BASE_URL),
  routes: [
    {
      path: '/',
      name: 'home',
      component: HomeView,
    },
    {
      path: '/waiku',
      name: 'waiku',
      component: () => import('../views/demo/waiKu.vue'),
    },
    {
      path: '/demo1',
      name: 'demo1',
      component: () => import('../views/demo/demo1.vue'),
    },
    {
      path: '/demo2',
      name: 'demo2',
      component: () => import('../views/demo/demo2.vue'),
    },
    {
      path: '/chart1',
      name: 'chart1',
      component: () => import('../views/demo/chart1.vue'),
    },
    {
      path: '/chart2',
      name: 'chart2',
      component: () => import('../views/demo/chart2.vue'),
    },
    {
      path: '/chart3',
      name: 'chart3',
      component: () => import('../views/demo/chart3.vue'),
    },
    {
      path: '/chart4',
      name: 'chart4',
      component: () => import('../views/demo/chart4.vue'),
    },
    {
      path: '/chart5',
      name: 'chart5',
      component: () => import('../views/demo/chart5.vue'),
    },
    {
      path: '/chart6',
      name: 'chart6',
      component: () => import('../views/demo/chart6.vue'),
    },
  ],
})

export default router
